package com.hmdp.utils;

public class SystemConstants {
    public static final String IMAGE_UPLOAD_DIR = "D:\\lesson\\nginx-1.18.0\\html\\hmdp\\imgs\\";
    public static final String USER_NICK_NAME_PREFIX = "user_";
    public static final int DEFAULT_PAGE_SIZE = 2;
    public static final int MAX_PAGE_SIZE = 10;
    /** feed流页面默认大小 */
    public static final int DEFAULT_FEED_PAGE_SIZE = 2;

    // 用户未登录
    public static final String USER_NOT_LOGIN = "用户未登录";

    /** 验证码前缀 */
    public static final String LOGIN_CODE_KEY = "login:code:";
    /** 验证码有效期 */
    public static final Long LOGIN_CODE_TTL = 60L;

    /** token前缀 */
    public static final String LOGIN_TOKEN_KEY = "login:token:";
    /** token有效期 */
    public static final Long LOGIN_TOKEN_TTL = 30L;
}
